package com.hz.monitoring.module.hardware.controller.admin.mcu_tenant_resource.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* MCU租户配置 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class McuTenantResourceBaseVO {

    @ApiModelProperty(value = "型号", required = true)
    @NotNull(message = "型号不能为空")
    private String model;

    @ApiModelProperty(value = "通道数", required = true)
    @NotNull(message = "通道数不能为空")
    private Integer channelsNumber;

    @ApiModelProperty(value = "名称", required = true)
    @NotNull(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "采集粒度", required = true)
    @NotNull(message = "采集粒度不能为空")
    private Integer cycle;

    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    @ApiModelProperty(value = "ip", required = true)
    @NotNull(message = "ip不能为空")
    private String correlationIp;

    @ApiModelProperty(value = "经度", required = true)
    @NotNull(message = "经度不能为空")
    private String longitude;

    @ApiModelProperty(value = "纬度", required = true)
    @NotNull(message = "纬度不能为空")
    private String latitude;

    @ApiModelProperty(value = "现场照片", required = true)
    @NotNull(message = "现场照片不能为空")
    private String scenePhotos;

    @ApiModelProperty(value = "租户编号")
    private Long tenantId;

}
